# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Roman G <drakosha@au.ru>

pkgname=axel
pkgver=2.17.11
pkgrel=2
pkgdesc="Light command line download accelerator"
arch=('loong64' 'x86_64')
url="https://github.com/axel-download-accelerator/axel"
license=('GPL')
depends=('glibc' 'openssl')
source=(https://github.com/axel-download-accelerator/axel/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('580b2c18692482fd7f1e2b2819159484311ffc50f6d18924dceb80fd41d4ccf9')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
